
import React, {Component} from 'react';
import {Platform, StyleSheet, Text, View} from 'react-native';
import TwebView from './twebView'
import {ifIphoneX, Util} from './util'

const instructions = Platform.select({
  ios: 'Press Cmd+R to reload,\n' + 'Cmd+D or shake for dev menu',
  android:
    'Double tap R on your keyboard to reload,\n' +
    'Shake or press menu button for dev menu',
});


type Props = {};
export default class Toilet extends Component<Props> {
  constructor(props){
    super(props);
  }

  render() {
    return (
      <View style={styles.contaniner}>
        <TwebView url='http://localhost:63342/my_app_two/html/nearby.html?_ijt=9epdvkiqjtvgpasklbl863gvc8'/>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  contaniner:{
    flex:1,
    ...ifIphoneX({
      paddingTop: 34,
    },{
      paddingTop: 20,

    }),
  },

});
